package com.zjc.yohoshop.di.modules;

import com.zjc.yohoshop.mvp.contract.ClassifyFragmentContract;
import com.zjc.yohoshop.mvp.model.ClassifyFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class ClassifyFragmentModules {

    private ClassifyFragmentContract.ClassiftFragmentIView iView;

    public ClassifyFragmentModules(ClassifyFragmentContract.ClassiftFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public ClassifyFragmentContract.ClassiftFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public ClassifyFragmentContract.ClassiftFragmentIModel providerIModel(){
        return new ClassifyFragmentModel();
    }

}
